//
//  RecommendTableViewCell.m
//  BaseProject
//
//  Created by hundredsandc on 2017/10/28.
//  Copyright © 2017年 hundredsandc. All rights reserved.
//

#import "RecommendTableViewCell.h"
#import "UIImageView+WebCache.h"

@interface RecommendTableViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *leftImageView;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *sourceLabel;

@end
@implementation RecommendTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)customLeftImageUrlStr:(NSString *)urlStr source:(NSString *)source title:(NSString *)title time:(NSString *)time{
    [_leftImageView sd_setImageWithURL:[NSURL URLWithString:urlStr]];
    _titleLabel.text = title;
    _timeLabel.text = time;
    _sourceLabel.text = source;

}
@end
